package flyrestaurant.jcy;

import java.io.IOException;

import android.app.Application;
import flyrestaurant.jcy.entity.User;
import flyrestaurant.jcy.service.ConfigService;

public class App extends Application {
	public User user;
	
	public String serverUrl;

	@Override
	public void onCreate() {
		super.onCreate();
		ConfigService configService = new ConfigService(this);
		try {
			serverUrl = configService.read().getProperty("serverUrl");
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
